<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心</title>
<link rel="stylesheet" href="<?php echo $this->baseUrl;?>/files/admin/css/main.css" />
<script language="javascript" src="<?php echo $this->baseUrl;?>/files/admin/js/jquery.js"></script>
<link rel="stylesheet" href="<?php echo $this->baseUrl;?>/files/admin/js/formValidator.jquery/style.css" />
<script language="javascript" src="<?php echo $this->baseUrl;?>/files/admin/js/formValidator.jquery/cn.js"></script>
</head>

<body>
	<div id="main">
		<div id="navigation">当前位置：<a href="<?php echo $this->projectUrl(array('action'=>'index')) ;?>">测试关键字列表</a> &gt; <span id="focus"><?php echo $this->subtitle;?></span></div>
  <div id="body">
			<div id="edit">
				<form id="editForm" name="editForm" method="post" action="">
					<table class="table">
						<tr class="dataLine">
						  <td width="32%">*为必填项</td>
						  <td width="68%">&nbsp;</td>
					  </tr>
						<tr class="dataLine">
							<td>关键字*：</td>
							<td>
							<input name="value" type="text" class="validate[length[1,50]] input" id="value" value="<?php echo $this->row['value'];?>" size="30" style="width:300px;">
							长度1-50个字符组成</td>
						</tr>
						<tr class="dataLine">
						  <td>类型*：</td>
						  <td><select name="type" id="type" style="width:300px;" class="validate[length[1,1]] input" >
                                <option value="">搜索类型</option>
								  <option value="1" 
                                  <?php if($this->row['type']=="1"):?>
                                  selected="selected"
                                  <?php endif;?>
                                  >收货人和收货地址</option>
                                  
								  <option value="2" 
								  <?php if($this->row['type']=="2"):?>
                                  selected="selected"
                                  <?php endif;?>>udid</option>
                                  
								  <option value="3"
                                  <?php if($this->row['type']=="3"):?>
                                  selected="selected"
                                  <?php endif;?>
                                  >登录用户</option>
                                  
								  <option value="4"
                                  <?php if($this->row['type']=="4"):?>
                                  selected="selected"
                                  <?php endif;?>
                                  >sourceId</option>
								  
                                  
                              </select></td>
					  </tr>
						<tr class="dataLine">
						  <td>产品：</td>
						  <td><select name="productCode" id="productCode" style="width:300px;">
                                 	<option value="">所有产品</option>
                                    <?php foreach($this->products as $product):?>
                                    	<option value="<?php echo $product['code'];?>"
                                        <?php if($this->row['productCode']==$product['code']):?>
                                        selected="selected"
                                        <?php endif;?>
                                        ><?php echo $product['name'];?></option>
                                    <?php endforeach;?>
                                </select></td>
					  </tr>
						
						<tr>
							<td>&nbsp;</td>
							<td><input type="submit" value="提交" class="button" /></td>
						</tr>
					</table>
			  </form>
			</div>
		</div>
</div>

</body>
</html>